package com.xiaoq.shop.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;

import javax.validation.constraints.NotNull;

/**
 * @author xinpeng created on 2016/10/31-下午3:59.
 */

@Entity(value = "shop_mc_classification_collection",noClassnameStored = true) //采用Morphia作为mongo client时
public class MCClassificationEntity extends MongoEntity {
    @NotNull
    private String shopId;
    @NotNull
    private Integer mcClassificationType; // 1,白金卡;2,金卡;3,银卡;4,普卡
    @NotNull
    private Double discount;
    private  String membershipCardCoverImgUrl;
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public Integer getMcClassificationType() {
		return mcClassificationType;
	}
	public void setMcClassificationType(Integer mcClassificationType) {
		this.mcClassificationType = mcClassificationType;
	}
	public Double getDiscount() {
		return discount;
	}
	public void setDiscount(Double discount) {
		this.discount = discount;
	}
	public String getMembershipCardCoverImgUrl() {
		return membershipCardCoverImgUrl;
	}
	public void setMembershipCardCoverImgUrl(String membershipCardCoverImgUrl) {
		this.membershipCardCoverImgUrl = membershipCardCoverImgUrl;
	}


}
